package com.cskaoyan.mapper.home;

import com.cskaoyan.bean.wx.home.WXAd;
import com.cskaoyan.bean.wx.home.WXAdExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface WXAdMapper {
    long countByExample(WXAdExample example);

    int deleteByExample(WXAdExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(WXAd record);

    int insertSelective(WXAd record);

    List<WXAd> selectByExample(WXAdExample example);

    WXAd selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") WXAd record, @Param("example") WXAdExample example);

    int updateByExample(@Param("record") WXAd record, @Param("example") WXAdExample example);

    int updateByPrimaryKeySelective(WXAd record);

    int updateByPrimaryKey(WXAd record);
}